﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MiniSched.Orm {

    public class Organization : Entity {

        [Required]
        [MinLength(3)]
        [MaxLength(50)]
        public string OrganizationName { get; set; }

        public ICollection<Volunteer> Volunteers { get; set; }

        public ICollection<OrganizationEvent> OrganizationEvents { get; set; }

        public ICollection<UserRole> UserRoles { get; set; }
    }
}
